@extends('layouts.app')
@section('title', 'The Eighteenth Biennial IEEE Conference on Electromagnetic Field Computation CEFC 2018')
@section('content')

@include('layouts.left')

<!------------center-------------------------------------->
<div id="centernr_big">
    <div class="center_tt" style="background-image:url(/images/c_n3_big.gif)"></div>
    @if (session('message'))
        <div class="alert alert-success">
            {{ session('message') }}
        </div>
    @endif
    <div style="width:96%; margin:0 auto; margin-bottom:10px;">
        <script type="text/javascript" src="/js/Form/Login.js"></script>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <form action="{{url('login')}}" method="POST" onSubmit="return Login();" id="loginF">
                <tr>
                    <td><div style="padding-bottom:7px; border-bottom:2px solid #F30;">Please login</div>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="regtable">
                            <tr>
                                <td width="22%" bgcolor="#f8f8f8">&nbsp;&nbsp;E-mail Address</td>
                                <td width="78%"><input name="UserName" type="text" class="hbox" id="UserName" value="{{ old('UserName') }}" maxlength="60"/></td>
                            </tr>

                            <tr>
                                <td bgcolor="#f8f8f8">&nbsp;&nbsp;Password</td>
                                <td><input name="Password" type="password" id="Password" size="30" class="hbox"></td>
                            </tr>
                            <tr>
                                <td bgcolor="#f8f8f8">&nbsp;&nbsp;Note:</td>
                                <td style="color:#F00;">1.If you have not created your account, please sign up first</td>
                            </tr>
                            <tr>
                                <td bgcolor="#f8f8f8">&nbsp;</td>
                                <td style="color:#F00;"><strong>Internet</strong>&nbsp;<strong>Explorer</strong>&nbsp;10 or above is recommended. </td>
                            </tr>
                        </table></td>
                </tr>
                <tr>
                    <td align="center" style="padding-top:20px;"><input name="button" type="submit" class="bot1" id="button" value="Login" style=" width:80px; height:25px; border:1px solid #333; background:#333; color:#FFF;"/>
                        &nbsp;&nbsp;<a href="Member_SignUp.html" style="color:#F60; font-weight:bold;"> Sign up now !</a>&nbsp;&nbsp;&nbsp;&nbsp;
                        {{ csrf_field() }}
                    </td>
                </tr>
            </form>
        </table>
    </div>
    <script language="JavaScript">
        function forgot_confirm()
        {
            if(!IsNull(document.getElementById("UserName").value))
            {
                alert("Email address is not allowed blank!");
                document.getElementById("UserName").select();
                return false;
            }
            var eof = window.confirm("Are you sure? A new password will be sent to your email address!");
            if(eof)
            {
                document.getElementById("loginF").action='Member_Forgot.html';
                document.getElementById("loginF").onSubmit='';
                document.getElementById("loginF").submit();
            }

        }
    </script>

</div>
@endsection
@push('scripts')
@endpush